/**
  ******************************************************************************
  * @file    gt32f030_misc.c
  * @author  GT Application Team
  * @version V1.0.0
  * @date    03-January-2025
  *       
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; COPYRIGHT 2022 Giantec Semicondutor Inc</center></h2>
  *
  *             http://www.giantec-semi.com/
  *
  * Unless required by applicable law or agreed to in writing, software 
  * distributed under the License is distributed on an "AS IS" BASIS, 
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __GT32F030_MISC_H
#define __GT32F030_MISC_H

#ifdef __cplusplus
 extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "gt32f030.h"

/** @defgroup RCC_IOMUX_define 
  * @{
  */ 
typedef enum
{ 
  RCC_IOMUX_Reset     = 0x00,
	RCC_IOMUX_GPIOAFR   = 0x01
}RCCIOMUX_TypeDef;
#define IS_RCC_IOMUX(IOMUX)(((IOMUX) == RCC_IOMUX_Reset)    || \
                            ((IOMUX) == RCC_IOMUX_GPIOAFR))

/** @addtogroup GT32F030_StdPeriph_Driver
  * @{
  */

void SWDIO_Cmd(unsigned int io_mux);
void RSTIO_Cmd(unsigned int io_mux);


#ifdef __cplusplus
}
#endif

#endif /* __GT32F030_MISC_H */

/**
  * @}
  */ 

/**
  * @}
  */ 

/************************ (C) COPYRIGHT Giantec Semicondutor Inc *****END OF FILE****/
